/**
 * Photo model
 *
 * 1. selected: Photo been selected ?
 * 2. url: Photo image url
 * 3. title: Photo title
 *
 * @author:		wison ye
 * @version:	1.0
 */
Ext.define( 'PhotoList.model.Photo', {
	extend: 'Ext.data.Model',
	config: {
		fields: [
		         {
					name: 'selected',
					type: 'boolean',
					defaultValue: false
		         },
		         {
		        	name: 'url'
		         },
		         {
		        	name: 'title'
		         }
        ]
	}

});